package com.treetao.union.core.baidu.ai;

public class BaiduFaceOption {
	private String appId;
	private String appKey;
	private String secretKey;
	
	private int connectTimeout = 3000;
	private int socketTimeout = 60000;
	
	public String getAppKey() {
		return appKey;
	}
	public void setAppKey(String appKey) {
		this.appKey = appKey;
	}
	public String getSecretKey() {
		return secretKey;
	}
	public void setSecretKey(String secretKey) {
		this.secretKey = secretKey;
	}
	public String getAppId() {
		return appId;
	}
	public void setAppId(String appId) {
		this.appId = appId;
	}
	public int getConnectTimeout() {
		return connectTimeout;
	}
	/**
	 * 设置连接超时时间（单位：毫秒）
	 * @param connectTimeout
	 */
	public void setConnectTimeout(int connectTimeout) {
		this.connectTimeout = connectTimeout;
	}
	public int getSocketTimeout() {
		return socketTimeout;
	}
	/**
	 * 设置长连接超时时间（单位：毫秒）
	 * @param socketTimeout
	 */
	public void setSocketTimeout(int socketTimeout) {
		this.socketTimeout = socketTimeout;
	}
	
}
